<template>
  <div class="back-top">
    <img src="~assets/img/home/backtop.png" alt="" />
  </div>
</template>

<script>
export default {
  name: "BackTop",
};
</script>

<style scoped>
.back-top {
  position: fixed;
  width: 40px;
  bottom: 80px;
  right: 24px;
  z-index: 999;
}
img {
  width: 100%;
}
.back-top:after {
  position: absolute;
  content: "";
  width: 22px;
  height: 22px;
  left: 10px;
  top: 10px;
  background-color: white;
  z-index: -1;
}
</style>
